package com.xiao.spring.aop.bean;

import org.springframework.stereotype.Component;

@Component
public class FruitServiceImpl implements FruitService {

	@Override
	public void printFruit() {
		Fruit f = new Fruit();
		f.setName("苹果");
		System.out.println("水果名称" + f.getName());
	}

}
